package com.techsoul.common.core.exception.file;

import com.techsoul.common.core.enums.HttpStatusEnum;
import com.techsoul.common.core.exception.BaseException;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
public class FileUploadException extends BaseException {

    public FileUploadException(Throwable cause) {
        super(cause);
    }

    public FileUploadException(String msg) {
        this(msg, null);
    }

    public FileUploadException(String msg, Object[] msgArgs) {
        super(HttpStatusEnum.FILE_UPLOAD_EXCEPTION, msg, msgArgs);
    }

}
